package net.tv90.bfmccoreqqbot.api.entity.lagrange;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Message {
    private String type;
    private MessageData data;
    private String post_type;
    private String message_type;
    private Long time;
    private String self_id;
    private String sub_type;
    private String message_id;
    private String user_id;
    private String target_id;
    private String message;
    private String raw_message;
    private Integer font;
    private Sender sender;
    private String group_id;
    private Anonymous anonymous;
}

/* lagrange

{"message_type":"group","sub_type":"normal","message_id":1067019414,"group_id":909678523,"user_id":3449023732,
"anonymous":null,"message":[{"type":"text","data":{"text":"\u67E5\u670D"}}],"raw_message":"\u67E5\u670D","font":0,
"sender":{"user_id":3449023732,"nickname":"TV90","card":"WO_TM_CALL_TV90","sex":"unknown","age":0,"area":"","level":"86","role":"owner","title":""},
"time":1709018492,"self_id":2878571259,"post_type":"message"}

 */
